package dk.dashboardFP.dfpLogger {
	import flash.display.Sprite;

	/**
	 * @author josef
	 */
	public class DFPLogItem {
		
		private var _sMessage : String;
		private var _intGroup : int;
		private var _oData : Object;
		private var _intLevel : int;
		private var _doView : Sprite;
		private var _bVisible : Boolean = true;
		private var _oExtraReceiverParms : Object;

		public function DFPLogItem(sMessage:String, intGroup:int, oData:Object, intLevel:int, oExtraReceiverParms:Object=null) {
			
			_oExtraReceiverParms = oExtraReceiverParms;
			_intLevel = intLevel;
			_oData = oData;
			_intGroup = intGroup;
			_sMessage = sMessage;
		}

		//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
		// getters
		//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
		
		public function get sMessage() : String {
			return _sMessage;
		}
		
		public function get intGroup() : int {
			return _intGroup;
		}
		
		public function get oData() : Object {
			return _oData;
		}
		
		public function get intLevel() : int {
			return _intLevel;
		}
		
		public function get doView() : Sprite {
			return _doView;
		}
		
		public function set doView(doView : Sprite) : void {
			_doView = doView;
		}
		
		public function get bVisible() : Boolean { 
			return _bVisible; 
		}
		
		public function set bVisible(oNewValue:Boolean) : void { 
			_bVisible=oNewValue;
		}
		
		public function get oExtraReceiverParms() : Object {
			return _oExtraReceiverParms;
		}
		
		public function set oData(oData : Object) : void {
			_oData = oData;
		}
	}
}
